package com.it.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.it.model.Book;

import java.util.List;

/**
 * @desc:
 * @author: panxiyi
 * @date: 2023/4/12 12:41 下午
 */

public interface BookService {

    Boolean save(Book book);

    Boolean delete(Long id);

    Boolean update(Book book);

    Book getById(Long id);

    List<Book> getALl();

    IPage<Book> getByPage(Integer currentPage, Integer pageSize);


}
